package com.atguigu.gulimall.product;

import com.atguigu.feign.clients.DiscountService;
import com.atguigu.feign.clients.WareFeignService;
import com.atguigu.feign.clients.SearchFeignService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableFeignClients(clients = {DiscountService.class,WareFeignService.class,SearchFeignService.class})
@SpringBootApplication
@EnableCaching
public class GulimallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}
